package com.novel.entiy.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.xml.XmlBeanFactory;

/**
 * @author tanghao
 * @date 2022/4/10
 */
@Data
public class BookSelfVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("小说id")
    private Long novelId;

    @ApiModelProperty("小说title")
    private String novelTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("当前阅读到的章节id")
    private Long chapterId;

    @ApiModelProperty("当前阅读到的章节title")
    private String chapterTitle;

    @ApiModelProperty("封面")
    private String cover;

    @ApiModelProperty("作者昵称")
    private String authorName;

}
